import {Injectable, OnApplicationShutdown} from '@nestjs/common';
import {deregisterInstance} from '../nacosClient';

@Injectable()
export class ActuatorService implements OnApplicationShutdown {
  onApplicationShutdown(signal?: string): any {
    deregisterInstance();
  }

}
